<div id="{$field}moreFile">
    <input type="hidden" name="{$field}" value="{$value}" />
    <a href="javascript:;" class="btn btn-info"
       data-url="{:url('plus/Attachment/file',['selectType'=>'file','isOne'=>0,'uid'=>$uid])}"
       data-title="选择附件"
       data-input="{$field}"
       onclick="selectAttachment(this,selectMoreFile);">
        上传附件
    </a>
    <ul class="file-block list-group" style="margin-top:4px;">
        {notempty name="value"}
        {foreach $fileList as $item}
            <li class="list-group-item" data-url="{$item.url}" data-name="{$item.name}">
                <a href="{$item.url}" target="_blank">{$item.name}</a>
                <a href="javascript:;" style="margin-left:20px;color:#D9534F;" onclick="delMoreFile(this,'{$field}')"><i class="fa fa-trash"></i></a>
            </li>
        {/foreach}
        {/notempty}
    </ul>
</div>
<script>In('layer','wform');</script>